iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 01:52:41 +0000 (01:52 +0000)]
bitkeeper revision 1.1192 (420d6169vOspV7vgQjqPRLjU4Xa-OQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 01:38:49 +0000 (01:38 +0000)]
bitkeeper revision 1.1191 (420d5e29aNqroO-Dr8i5N9OF0PGu4A)
Subject: [PATCH] xentrace-vmx.patch
- Add VMX specific events to xentrace.
- Rename d -> ed
- cleanup dead code
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
cl349@arcadians.cl.cam.ac.uk [Sat, 12 Feb 2005 01:31:55 +0000 (01:31 +0000)]
bitkeeper revision 1.1187.1.1 (420d5c8bry1FsMS2rnyIFoRMthBd2w)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
cl349@arcadians.cl.cam.ac.uk [Sat, 12 Feb 2005 01:31:28 +0000 (01:31 +0000)]
bitkeeper revision 1.1184.1.1 (420d5c705_VA4WaJuRZQusYMhaQugg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
cl349@arcadians.cl.cam.ac.uk [Sat, 12 Feb 2005 01:30:21 +0000 (01:30 +0000)]
bitkeeper revision 1.1159.258.3 (420d5c2dj-e3ZU_Q3wOxYdZ-yax62A)
Use "ide" as device name and "hdX" as disk name.
Signed-off-by: chris@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 01:05:30 +0000 (01:05 +0000)]
bitkeeper revision 1.1190 (420d565aLSpnsj5do0f0daHT7JHvkA)
Subject: [PATCH] vmx-shadow-lock.patch
Fix an assertion failure due to not holding the shadow_lock()
Also remove a printk that makes debug=y too verbose.
Fix an assertion that required PERF_COUNTER
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 00:50:27 +0000 (00:50 +0000)]
bitkeeper revision 1.1189 (420d52d34bmxozCOzbUs5pmo2zfT-w)
Subject: [PATCH] xenctx.patch
Does this sound interesting? I found it useful to debug looping guests.
A gdb stub would be nicer - but this one is lighter weight.
-Arun
Tool for dumping the cpu context
# xenctx 1 0
eip:
c01dfeab esp:
c1603c98
eax:
00000020 ebx:
c0432e10 ecx:
00000ee6 edx:
000001f7
esi:
c0432d60 edi:
00000296 ebp:
c0432d60
cs:
00000060 ds:
00000068 fs:
00000000 gs:
00000033
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 00:48:04 +0000 (00:48 +0000)]
bitkeeper revision 1.1188 (420d5244F1WAs2mvIW8E0-0RB5AlRw)
Subject: [PATCH] dm-destroy.patch
Clicking on the power off button calls xm destroy as well.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 00:43:32 +0000 (00:43 +0000)]
bitkeeper revision 1.1187 (420d5134SJno8yarcAiRNJqFJ5adEA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Sat, 12 Feb 2005 00:41:23 +0000 (00:41 +0000)]
bitkeeper revision 1.1159.259.1 (420d50b3Mu97o7HHZsGGVPlv3ORCOw)
Some VT-x software perf counters.
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 11 Feb 2005 18:55:16 +0000 (18:55 +0000)]
bitkeeper revision 1.1186 (420cff94zgt9FYAF2LFRO_Xztduveg)
Ensure coherency of guest-PDE 'accessed' bits when using shadow page
tables. There is no issue with 'dirty' bits because only PTEs and
super-page PDEs (which we do not support) have 'dirty' bits.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 11 Feb 2005 18:04:56 +0000 (18:04 +0000)]
bitkeeper revision 1.1185 (
420cf3c8-bMMcsnH1kMVRwy5AQ-ecg)
Various mini-os and Xen fixes. The M2P table is now definitely
accessible (read-only) from guest context.
Signed-off-by: keir.fraser@cl.cam.ac.uk
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 16:42:22 +0000 (16:42 +0000)]
bitkeeper revision 1.1184 (420ce06eLX3IXXYgfWOdCOQZS6HoDg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen-unstable.bk
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 16:40:00 +0000 (16:40 +0000)]
bitkeeper revision 1.1177.2.1 (420cdfe0gnE29cMitOCxShEE2d_lRA)
Sync w/ 2.0-testing changes.
Signed-off-by: cl349@cl.cam.ac.uk
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 16:28:22 +0000 (16:28 +0000)]
bitkeeper revision 1.1159.258.2 (420cdd26biP1GgUIcVSoyZGOZjAu2A)
Pass pointer to register set to set_pre_exception_table instead of eip.
Signed-off-by: cl349@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 14:37:07 +0000 (14:37 +0000)]
bitkeeper revision 1.1183 (420cc313TZKdpM4_m9WvFiEqZsQ13w)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xen-unstable.bk
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 13:06:19 +0000 (13:06 +0000)]
bitkeeper revision 1.1182 (420cadcbrUDFMXqavPE9gJ-8GmmyoQ)
Make it compile in the non-crashdb case.
Signed-off-by: sos22@cl.cam.ac.uk.
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 12:48:22 +0000 (12:48 +0000)]
bitkeeper revision 1.1181 (420ca996keP3Po6VzQplsJpxQ7eTyg)
Not sure why BK didn't pick this up last time...
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 12:37:10 +0000 (12:37 +0000)]
bitkeeper revision 1.1180 (420ca6f6iwPf_PBxj1CWyA2TtgM19w)
Get rid of cdb_trap, and replace it with a new function ``call_with_registers''.
Signed-off-by: sos22@cl.cam.ac.uk.
kaf24@scramble.cl.cam.ac.uk [Fri, 11 Feb 2005 11:35:57 +0000 (11:35 +0000)]
bitkeeper revision 1.1177.1.2 (420c989dC_Rdny3XsEcgT2zNba3g6w)
Update ignores list.
kaf24@scramble.cl.cam.ac.uk [Fri, 11 Feb 2005 11:34:22 +0000 (11:34 +0000)]
bitkeeper revision 1.1177.1.1 (420c983eSjbjDYGF-fYWrXw_L7qkLA)
Mini-OS cleanups. Bug fixes in x86_64 assembly code.
Signed-off-by: keir.fraser@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 10:39:46 +0000 (10:39 +0000)]
bitkeeper revision 1.1179 (420c8b725LGvAqm86f8YBLnAnaHPvQ)
Fixup the fixup code a little.
Signed-off-by: sos22@cl.cam.ac.uk.
sos22@douglas.cl.cam.ac.uk [Fri, 11 Feb 2005 10:24:12 +0000 (10:24 +0000)]
bitkeeper revision 1.1178 (420c87ccD2VdHFZVGUqHR4Zd2yI1mg)
After a fatal trap, we want to debug whatever caused the trap rather than the trap
handler. Fix things up accordingly.
Also add some documentation while I'm here.
Signed-off-by: sos22@cl.cam.ac.uk.
cl349@arcadians.cl.cam.ac.uk [Fri, 11 Feb 2005 01:51:41 +0000 (01:51 +0000)]
bitkeeper revision 1.1177 (420c0fadBy7s1H_BwU5gDKjAg1MBFw)
Cleanup cleanups.
Signed-off-by: chris@xensource.com
cl349@arcadians.cl.cam.ac.uk [Thu, 10 Feb 2005 22:58:57 +0000 (22:58 +0000)]
bitkeeper revision 1.1176 (420be7310q_UvcXdnsevIZbXRZHJ4g)
Various cleanups.
Signed-off-by: chris@xensource.com
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:49:57 +0000 (18:49 +0000)]
bitkeeper revision 1.1175 (420bacd51yx4f66j0Yv3tnUwEmeDtw)
Fix x86/64 SYSCALL handling. Handle return to compatibility mode as
well as long mode.
Signed-off-by: keir.fraser@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 18:11:07 +0000 (18:11 +0000)]
bitkeeper revision 1.1174 (420ba3bb5kHKomeIcBm8uzF2u-A5dg)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/foo.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:09:08 +0000 (18:09 +0000)]
bitkeeper revision 1.1172.1.1 (420ba344y-TLJ8cFOVA_8bN7wd3dMw)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:08:59 +0000 (18:08 +0000)]
bitkeeper revision 1.1159.1.568 (420ba33bo4Ly13qI5cHgZttHha5_-g)
Change do_set_callbacks hypercall for x86/64 to not take any selector
values, but to take a syscall_entry point.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 18:08:11 +0000 (18:08 +0000)]
bitkeeper revision 1.1159.1.567 (420ba30bAq55q3Qi9iVgQ6Cl1_7CNQ)
Fix asm-offsets.h dependencies.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 18:05:33 +0000 (18:05 +0000)]
bitkeeper revision 1.1173 (420ba26dU4VauWP5oFVWCo3QsMg0Jw)
Make everything compile again.
Signed-off-by: sos22@cl.cam.ac.uk.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:25:26 +0000 (17:25 +0000)]
bitkeeper revision 1.1172 (420b99066Xfg-68mYeFJdp4BIxo_wQ)
Merge douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xeno.bk
into douglas.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/crashdb.bk
Signed-off-by: sos22@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:25:09 +0000 (17:25 +0000)]
bitkeeper revision 1.1170.1.1 (420b98f5HLKkq19C9PxLpNFZOD2-mg)
Make it compile in the non-crash_debug case.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:23:56 +0000 (17:23 +0000)]
bitkeeper revision 1.1171 (420b98ac0B3ughFHARZwZjaceYNFUg)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into douglas.cl.cam.ac.uk:/auto/groups/xeno/users/sos22/crashdb.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 17:22:33 +0000 (17:22 +0000)]
bitkeeper revision 1.1159.1.566 (420b9859IEtfznEUT481JP1bxIJ7YA)
Fix IDT handling. x86/64 doesn't need an IDT per CPU. On x86/32 I have
put the IDT copying back to where it was, very late in the boot process.
Otherwise I miss late modifications to the master IDT. This fixes
problems I was seeing with serial line interrupts getting msidirected.
Signed-off-by: keir.fraser@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:16:20 +0000 (17:16 +0000)]
bitkeeper revision 1.1170 (420b96e4lQdbo7fzNNwrsgmrzMJExQ)
Merge douglas.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into douglas.cl.cam.ac.uk:/local/scratch/sos22/xendbng/xeno.bk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:16:04 +0000 (17:16 +0000)]
bitkeeper revision 1.1169 (420b96d48xPe7Ok5mXEY_QuvSxXLxw)
Improve documentation a little.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:15:51 +0000 (17:15 +0000)]
bitkeeper revision 1.1168 (420b96c7tDX3WAggwXBacK-2DjNySg)
Trap to debugger from a fatal trap.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:15:32 +0000 (17:15 +0000)]
bitkeeper revision 1.1167 (420b96b4EStXs5M4SVJpHN9DT5wwkQ)
smp_send_stop sometimes reenabled interrupts. Make sure it doesn't.
mjw@wray-m-3.hpl.hp.com [Thu, 10 Feb 2005 17:13:35 +0000 (17:13 +0000)]
bitkeeper revision 1.1159.258.1 (420b963fGDqQqmlp_DO3u-T_klF82g)
Fixes to make the vnet module compile under 2.6.10.
Thanks to Brian Bruce for spotting the problem and
suggesting fixes.
Signed-off-by: Mike Wray <mike.wray@hp.com>
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 17:06:57 +0000 (17:06 +0000)]
bitkeeper revision 1.1166 (420b94b19VPINEpnyrORsIwqTctjAA)
Add in a very brief description of how it's supposed to work.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:56:14 +0000 (16:56 +0000)]
bitkeeper revision 1.1165 (420b922egKp-aJPtYkOkWGp2ZSNQAA)
Get rid of some annoying debug.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:49:23 +0000 (16:49 +0000)]
bitkeeper revision 1.1164 (420b9093tZfwUqS7PQW_U7NLqOc72Q)
Make sure we disable the watchdog while we're in the debugger.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 16:45:11 +0000 (16:45 +0000)]
bitkeeper revision 1.1163 (420b8f97P8m2OsC2o8di9OVsBppT2Q)
Arrange for it to work (some of the time) on modern Xen.
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 15:20:15 +0000 (15:20 +0000)]
bitkeeper revision 1.1159.1.565 (420b7bafUdB4uOmG-Qm1AYMify0jrQ)
p2m and m2p tables are now 4 bytes per entry always, even on x86/64.
Fixed mapping of m2p table into kernel space on x86/64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 14:38:46 +0000 (14:38 +0000)]
bitkeeper revision 1.1162 (420b71f6yarVsHEUH8wBvGFgIVSTBQ)
Re-sanify after merge.
sos22@douglas.cl.cam.ac.uk [Thu, 10 Feb 2005 13:17:10 +0000 (13:17 +0000)]
bitkeeper revision 1.1161 (420b5ed6DpcotfvpA5TTxShadFd_MQ)
Merge with non-ancient version of Xen.
kaf24@scramble.cl.cam.ac.uk [Thu, 10 Feb 2005 11:26:37 +0000 (11:26 +0000)]
bitkeeper revision 1.1159.1.564 (420b44edsb8XzPev-TiGW16GSsCW6g)
More x86_64 stuff. Added hypercalls to register a user-space pagetable,
modify FS/GS base addresses, and switch to user mode. User mode switches
back to kernel mode automatically on executing SYSCALL instruction.
Still todo: 1. getdomaininfo needs to include pagetable_user
2. get writable and shadow pagetables working
3. testing
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Thu, 10 Feb 2005 02:27:48 +0000 (02:27 +0000)]
bitkeeper revision 1.1159.1.563 (420ac6a4CzlgvLZ7nmENZh1uJh51Ng)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 23:23:30 +0000 (23:23 +0000)]
bitkeeper revision 1.1159.223.85 (420a9b72OGag4m4sDtlxM-918tbudQ)
Subject: [Xen-devel] VNET - full update
Allows vnets to compile and run under 2.6.10/xen-testing.
PATCH: vnet-cleanup.patch
Signed off by: bgb@nt-nv.com
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 19:44:49 +0000 (19:44 +0000)]
bitkeeper revision 1.1159.223.84 (420a6831W2g6HHtXksV16NZox0sA5Q)
Subject: [Xen-devel] [PATCH 1/2] netfront coding style clean-up (trivial)
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 18:57:38 +0000 (18:57 +0000)]
bitkeeper revision 1.1159.1.562 (420a5d22B5wTDaFFOL7CfKG24g-JCA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Wed, 9 Feb 2005 18:57:13 +0000 (18:57 +0000)]
bitkeeper revision 1.1159.257.1 (420a5d09baXJPJiifdfGaELY297KOw)
Refactor code to eliminate some code duplication.
- added gva_to_gpte
- gva_to_gpa uses gva_to_gpte now
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 17:14:35 +0000 (17:14 +0000)]
bitkeeper revision 1.1159.1.561 (
420a44fbc4-bx17m5WWwDlyH93ab-g)
Some simple renaming. 'guestos' -> 'kernel'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 16:24:23 +0000 (16:24 +0000)]
bitkeeper revision 1.1159.1.560 (420a3937bsia3-KUKXK3oI9TTu7gaA)
Loads more x86_64 work. entry.S is now done so we reflect exceptions
and interrupts to the guest. The only missing parts are new hypercalls
to set FS_BASE, GS_BASE_KERN, GS_BASE_USER. Also the concept of two
L4 pagetable bases -- one for user, one for kernel.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Wed, 9 Feb 2005 10:16:50 +0000 (10:16 +0000)]
bitkeeper revision 1.1159.1.559 (4209e312Ii3Tsz9q9NZb2CbM0b1BzA)
More x86_64 work. do_mmu_update and update_va_mapping are now done.
Still todo: 1. exception/interrupt callbacks to guest OS
2. OS ring 3 vs. application ring 3
3. writable pagetables and shadow pagetables
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@tetris.cl.cam.ac.uk [Wed, 9 Feb 2005 02:59:54 +0000 (02:59 +0000)]
bitkeeper revision 1.1159.1.558 (
42097caa-4C6IJxUdk1DgyyzixbYBg)
Merge tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@tetris.cl.cam.ac.uk [Wed, 9 Feb 2005 02:58:09 +0000 (02:58 +0000)]
bitkeeper revision 1.1159.223.83 (42097c41y12EFATQuIKPTDS1smnkWQ)
Subject: [Xen-devel] [PATCH] Fix initrd support for Linux 2.4/2.6
The following patch sets the default root device to be the null device.
This is the behavior Linux is launched with no root device specified in
the command line and without a device provided by the boot loader.
Previously, the default root device was set to be /dev/ram0. This broke
initrd support. This change was made in 2.6 to because of a bug
reported on September 14th with dynamic ipconfig. I've recreated his
problem and looked through the code and the source of the problem was
that his kernel command line was incorrect. He was missing the BOOTP
field in the config line requiring that there be an actual root device.
This worked with 2.4 but only because 2.4 was also broken. His patch
just introduced that bug into 2.6.
I've tested this against the 2.6 and 2.4 trees in a recent copy of
xen-unstable. I've tested initrd support and ipconfig support
(including dynamic ip support). They both now work as expected.
If anyone needs an initrd for testing let me know.
Regards,
--
Anthony Liguori
Linux Technology Center (LTC) - IBM Austin
E-mail: aliguori@us.ibm.com
Phone: (512) 838-1208
Signed-off-by: Anthony Liguori
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Wed, 9 Feb 2005 00:02:37 +0000 (00:02 +0000)]
bitkeeper revision 1.1159.1.557 (4209531dcD_85ru3nT6SL_v6qHidAA)
Subject: [PATCH] mmio-decode-movz.patch
- Handle the movz instruction in the decoder. This was necessary to get
X working.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 23:57:18 +0000 (23:57 +0000)]
bitkeeper revision 1.1159.1.556 (420951de12d7YPCDmxFldoqZYbe2cw)
Subject: [PATCH] pit-in-hv.patch
- Use ac_timer for PIT interrupt injection (more accurate time keeping)
- Accelerate some critical PIT I/O operations in the hypervisor
(saves 15us per op). Cuts down guest timer interrupt handler execution time
by a third.
- If the domain is scheduled out, make sure that interrupts are not lost
- Add a generic framework for device I/O interception
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 23:17:38 +0000 (23:17 +0000)]
bitkeeper revision 1.1159.1.555 (42094892MsTPGiy_x_uFbwMVQuq4Qg)
Fix the synchronization issues between xend and the device model at
startup time.
Initialize the shared page in the hypervisor. Otherwise, the hypervisor
might try to inject spurious interrupts into the guest due to
uninitialized data.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 22:41:47 +0000 (22:41 +0000)]
bitkeeper revision 1.1159.1.554 (4209402bTjMxzBx8aPHpjveufoaubQ)
manual merge
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 22:39:08 +0000 (22:39 +0000)]
bitkeeper revision 1.1159.223.82 (42093f8cxZb9FQfWwmj7IIok9ndiPg)
minor stats collection addition
ian@xensource.com
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 19:57:32 +0000 (19:57 +0000)]
bitkeeper revision 1.1159.1.553 (420919acSbg0z7dds_B0PhykDN6vYA)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 19:57:24 +0000 (19:57 +0000)]
bitkeeper revision 1.1159.256.1 (420919a4fFt2x7Ej4o_xqAI2CSYN8Q)
mmu_update fixes for x86_64. About halfway there.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:54:32 +0000 (19:54 +0000)]
bitkeeper revision 1.1159.1.552 (420918f8LzMe7S_sxvvaHtdM_xcpYg)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:53:55 +0000 (19:53 +0000)]
bitkeeper revision 1.1159.255.3 (420918d3OV9YNdw3dCaE6e4udrKnDA)
manual merge
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:52:18 +0000 (19:52 +0000)]
bitkeeper revision 1.1159.223.81 (42091872lrObHIRNczDaqDeQw3NmyA)
debug memory audit cleanups + comment fix from Jon Mason.
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:26:54 +0000 (19:26 +0000)]
bitkeeper revision 1.1159.255.2 (4209127er8MJffd33h0Xohwj83BUWQ)
misc VT-x cleanups
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 19:23:44 +0000 (19:23 +0000)]
bitkeeper revision 1.1159.255.1 (420911c0Dpqzcuh7CS1OpkVP4miSbQ)
misc debug audit cleanups
Signed-off-by: ian.pratt@cl.cam.ac.uk
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 18:21:54 +0000 (18:21 +0000)]
bitkeeper revision 1.1159.1.551 (42090342LHDFQZTluOIKtDxiXyfkHA)
Initial checkin of blktap user-land tools. These are fairly experimental,
but a few people have asked to use them. This checkin also includes
Christian's gnbd client library code.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 18:03:51 +0000 (18:03 +0000)]
bitkeeper revision 1.1159.1.550 (4208ff07n_vZmQRm3MGLW7fSFD_y4g)
Small naming cleanup. p.t. 'entries' and 'shift' macros now have same
naming style.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mafetter@fleming.research [Tue, 8 Feb 2005 17:49:09 +0000 (17:49 +0000)]
bitkeeper revision 1.1159.1.549 (4208fb95gxAvpOu2Y6U5GTnniA8anQ)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work
mafetter@fleming.research [Tue, 8 Feb 2005 17:47:44 +0000 (17:47 +0000)]
bitkeeper revision 1.1159.254.1 (4208fb40ebFKAx9nnWfHPfWIPdQ9Vw)
Bug fix for free_domain_struct().
Don't dereference a pointer after we've free'd it.
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:39:38 +0000 (17:39 +0000)]
bitkeeper revision 1.1159.1.548 (4208f95aAgOLAVzYN_LfO9DmE-DoNA)
ignore list clean.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:37:09 +0000 (17:37 +0000)]
bitkeeper revision 1.1159.1.547 (4208f8c5CfxK9ZFrm2AcWi7LSNQ5sg)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:36:37 +0000 (17:36 +0000)]
bitkeeper revision 1.1159.253.1 (4208f8a54Zaz-XgC11YTHeLxPHPoZg)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
smh22@tempest.cl.cam.ac.uk [Tue, 8 Feb 2005 17:36:23 +0000 (17:36 +0000)]
bitkeeper revision 1.1159.1.546 (4208f897krIXzlEsP6G6V3H5URXQSg)
fix typo
Signed-off-by: steven.hand@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 17:29:47 +0000 (17:29 +0000)]
bitkeeper revision 1.1159.212.133 (4208f70bysX-Xugo-Q2_ptciUVbe_g)
Use size-independent '%p' format string in preference to '%08lx'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
smh22@tempest.cl.cam.ac.uk [Tue, 8 Feb 2005 16:44:16 +0000 (16:44 +0000)]
bitkeeper revision 1.1159.1.545 (
4208ec60-ql2CB2KKyZRC_8udlW9kA)
Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into tempest.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 16:02:52 +0000 (16:02 +0000)]
bitkeeper revision 1.1159.212.132 (4208e2acn2x2RLZsxZIR12IGEO1b3A)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 16:02:44 +0000 (16:02 +0000)]
bitkeeper revision 1.1159.252.1 (4208e2a42Fwe83QQfJdFQI8V302tYg)
Reorganise mm.h to split out 32-bit and 64-bit definitions. Fix x86_64
definitions to mask out the bits that we don't care about.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 15:45:45 +0000 (15:45 +0000)]
bitkeeper revision 1.1159.212.131 (4208dea93kRwptTEZzh2Dm2aH9dAKA)
merge
iap10@freefall.cl.cam.ac.uk [Tue, 8 Feb 2005 15:43:01 +0000 (15:43 +0000)]
bitkeeper revision 1.1159.223.80 (4208de05Xtv_u_3smJSRU6ex6bTAfA)
Some functions aren't static and could be (damn C language!).
I tried turning on -Wmissing-prototypes: unfortunately gives warnings
for functions used in asm, which means introducing gratuitous prototypes
for them. Not sure it's worth it.
1) keyhandler.c: keypress_softirq() and do_task_queues() can be static.
2) physdev.c: pcidev_dom0_hidden() can be static.
3) resource.c/resource.h: check_region is deprecated (racy): remove.
4) sched_bvt.c: lots of things can be static.
5) pci/compat.c: not required for Xen.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:42:33 +0000 (15:42 +0000)]
bitkeeper revision 1.1159.212.130 (4208dde9v8U9U_7hI23vverH97_FLQ)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:42:26 +0000 (15:42 +0000)]
bitkeeper revision 1.1159.251.1 (4208dde2yO5a2hmuPJlwJg0U4vM8yA)
Use p_paddr when loading Elf program segments; not p_vaddr.
Signed-off-by: keir.fraser@cl.cam.ac.uk
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 15:18:48 +0000 (15:18 +0000)]
bitkeeper revision 1.1159.212.129 (4208d858olmxfMnz16ahNWDNaOt4KQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 15:17:35 +0000 (15:17 +0000)]
bitkeeper revision 1.1159.249.2 (4208d80fdADS1E8W_FrA3GnIhbkDTw)
my bad.
signed-off-by: akw27@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:13:51 +0000 (15:13 +0000)]
bitkeeper revision 1.1159.212.128 (4208d72fZEHIE9NOZZbr91V7R-3gUg)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 15:13:45 +0000 (15:13 +0000)]
bitkeeper revision 1.1159.250.1 (4208d729hvKh9E4GWJWvFDThd8OXyA)
More x86_64 fixes/cleanups. NB. update_va_mapping hypercalls now
accept a virtual address, *not* a "virtual page number".
Signed-off-by: keir.fraser@cl.cam.ac.uk
akw27@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 14:47:09 +0000 (14:47 +0000)]
bitkeeper revision 1.1159.249.1 (4208d0edi9hSgBaQl0hrDcYiEH0yxg)
blktap driver fixes:
Allow the tap to terminate a block device (not need a backend).
Allow it to run in dom0.
Forward control messages to user space as well.
Signed-off-by: akw27@cl.cam.ac.uk
mafetter@fleming.research [Tue, 8 Feb 2005 12:27:23 +0000 (12:27 +0000)]
bitkeeper revision 1.1159.212.127 (4208b02bTdSR4AVYRg8diDkKZmIVUg)
General shadow code cleanup.
Fixed compilation problems when SHADOW_DEBUG is enabled.
Fixed compilation problems when CONFIG_VMX is undefined.
Simplified l1pte_write_fault and l1pte_read_fault.
Name change: spfn => smfn (shadow machine frame numbers).
In general, the terms pfn and gpfn now refer to pages in the
guest's idea of physical frames (which diffs for full shadow
guests). mfn always refers to a machine frame number.
One bug fix for check_pagetable():
If we're using writable page tables
along with shadow mode, don't check the currently writable page table
page -- check its snapshot instead.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Tue, 8 Feb 2005 11:07:10 +0000 (11:07 +0000)]
bitkeeper revision 1.1159.212.126 (42089d5esMXb54hvuQX14wvXnCm18w)
Various hypercall fixes for x86_64.
Main todos: 1. mmu_updates/update_va_mapping hypercalls.
2. map perdomain_pt into Xen address space.
3. exception/interrupt callbacks to guest OS.
4. user-space ring 3 vs. guest-OS ring 3.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:15:03 +0000 (03:15 +0000)]
bitkeeper revision 1.1159.212.125 (42082eb7N-IslXNUjMvYswTnizJdsw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:14:41 +0000 (03:14 +0000)]
bitkeeper revision 1.1159.223.79 (42082ea1obdbIutzD0IY-9Fdcf7Exw)
Fix to memory debugging audit code.
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:10:00 +0000 (03:10 +0000)]
bitkeeper revision 1.1159.212.124 (42082d88aeY4pFTDqfgHMrvhse0-PA)
Fix to memory debugging audit code.
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 02:12:21 +0000 (02:12 +0000)]
bitkeeper revision 1.1159.212.123 (42082005dxGUQnJcMdl-1781X20PQQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 02:11:57 +0000 (02:11 +0000)]
bitkeeper revision 1.1159.248.1 (42081fedCWYqmUmFHfXFmy6z8jqp3w)
Some cleanups:
- Use ENTRIES_PER_L1_PAGETABLE instead of ENTRIES_PER_L2_PAGETABLE
- Use PAGE_SHIFT instead of L1_PAGETABLE_SHIFT
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:17:20 +0000 (01:17 +0000)]
bitkeeper revision 1.1159.212.122 (420813205N6xleek-CEt8_zMptvY9w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:16:50 +0000 (01:16 +0000)]
bitkeeper revision 1.1159.223.78 (
42081302-eWxmHBN6T8FdRJD5VvsOg)
This very simple patch is really just cosmetic. It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log. I'm not sure who should sign off
on this, but the patch is attached.
From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com